package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.IotMessageDTO;
import com.hunttown.mes.rpc.domain.query.IotMessageDTOQuery;

/**
 * created by wangjunfu on 2020-11-20 11:15:00
 */
public interface IotMessageRpcService {

    IotMessageDTO insert(IotMessageDTO iotMessageDTO);

    Boolean updateInfoById(IotMessageDTO iotMessageDTO);

    Boolean updateInfoByQuery(IotMessageDTOQuery iotMessageDTOQuery);

    IotMessageDTO selectById(Integer id);

    IotMessageDTO selectObjByQuery(IotMessageDTOQuery iotMessageDTOQuery);

    Page<IotMessageDTO> getListForPage(IotMessageDTOQuery iotMessageDTOQuery);

    Boolean deleteById(Integer id);
}